package gupao_edu_spring_webmvc.web.servlet;

import java.util.Map;

/**
 * @ClassName:
 * @Description:
 * @Auther: zhouych
 * @Date: 2019/5/9 20:21
 */
public class MYModelAndView {

    private String viewName;
    private Map<String,?> model;

    public MYModelAndView(String viewName) { this.viewName = viewName; }

    public MYModelAndView(String viewName, Map<String, ?> model) {
        this.viewName = viewName;
        this.model = model;
    }

    public String getViewName() {
        return viewName;
    }

    public Map<String, ?> getModel() {
        return model;
    }
}
